function* foo(){

}
const it =foo(5)//it 可迭代对象

console.log(it.next()); // { value: undefined, done: true }
